package com.wyiot.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum MessageTypeEnum {
    SendMessage(0, "寄件通知"),
    ReceiptMessage(1, "收件通知"),
    NewWorkMessage(2, "新件提醒"),
    SoonTimeoutMessage(3,"临期提醒"),
    TimeoutMessage(4,"超时提醒"),
    CancelMessage(5,"用户取消提醒"),
    ;
    @EnumValue
    private final Integer code;
    @JsonValue
    private final String remark;

    MessageTypeEnum(Integer code, String remark) {
        this.code= code;
        this.remark=remark;
    }

}
